package club.dataresources.service;

import club.dataresources.entity.Barber;
import com.github.pagehelper.Page;

public interface BarberService {

    //增
	public boolean addBarber(Barber barber) throws Exception;

	//删
	public boolean removeBarber(Integer barberId) throws Exception;

	//改
	public boolean updateBarber(Barber barber) throws Exception;

	//查

	//列表
	public Page<Barber> listBarber(Integer page, Integer rows, Barber barber) throws Exception;

	//获取一个理发师(按时间最近有空，同样有空时按档次较低的规则);
	public Barber getBarber() throws Exception;
}
